

file = open("/Users/lijingjing/.ssh/TZadmin.pem", 'r', encoding="utf-8")
file_data = file.read()
file.close()
print(file_data)

with open("/Users/lijingjing/.ssh/TZadmin.pem") as f:
    file_data2 = f.read()
print(file_data2)
